package com.model;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer id;
	private Limits limits;
	private String name;
	private String pwd;
	private String email;
	private String picture;
	private String sex;
	private Integer status;
	private String nation;
	private String qq;
	private String major;
	private String state;
	private Set replies = new HashSet(0);
	private Set sections = new HashSet(0);
	private Set topics = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Limits limits, String name, String pwd, String email,
			Integer status) {
		this.limits = limits;
		this.name = name;
		this.pwd = pwd;
		this.email = email;
		this.status = status;
	}

	/** full constructor */
	public User(Limits limits, String name, String pwd, String email,
			String picture, String sex, Integer status, String nation,
			String qq, String major, String state, Set replies, Set sections,
			Set topics) {
		this.limits = limits;
		this.name = name;
		this.pwd = pwd;
		this.email = email;
		this.picture = picture;
		this.sex = sex;
		this.status = status;
		this.nation = nation;
		this.qq = qq;
		this.major = major;
		this.state = state;
		this.replies = replies;
		this.sections = sections;
		this.topics = topics;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Limits getLimits() {
		return this.limits;
	}

	public void setLimits(Limits limits) {
		this.limits = limits;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPwd() {
		return this.pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPicture() {
		return this.picture;
	}

	public void setPicture(String picture) {
		this.picture = picture;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getNation() {
		return this.nation;
	}

	public void setNation(String nation) {
		this.nation = nation;
	}

	public String getQq() {
		return this.qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getMajor() {
		return this.major;
	}

	public void setMajor(String major) {
		this.major = major;
	}

	public String getState() {
		return this.state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Set getReplies() {
		return this.replies;
	}

	public void setReplies(Set replies) {
		this.replies = replies;
	}

	public Set getSections() {
		return this.sections;
	}

	public void setSections(Set sections) {
		this.sections = sections;
	}

	public Set getTopics() {
		return this.topics;
	}

	public void setTopics(Set topics) {
		this.topics = topics;
	}

}